home *** CD-ROM | disk | FTP | other *** search
- Path: kikkin.zko.dec.com!carlson
- From: carlson@kikkin.zko.dec.com (Tom Carlson)
- Newsgroups: comp.lang.c++
- Subject: Re: STL on VMS DEC Alpha CXX?
- Date: 5 Mar 1996 14:26:59 GMT
- Organization: Digital Equipment Corporation
- Distribution: world
- Message-ID: <4hhivj$ak8@zk2nws.zko.dec.com>
- References: <4h225q$32k@clark.net>
- Reply-To: carlson@kikkin.zko.dec.com (Tom Carlson)
- NNTP-Posting-Host: kikkin.zko.dec.com
- X-Newsreader: mxrn 6.18-16
-
-
- In article <4h225q$32k@clark.net>, dmpalmer@clark.net (David M. Palmer) writes:
- |>Does anybody have a working implementation of STL on the Alpha under VMS
- |>using the C++ compiler from DEC CXX.
- |>
- |>Either a set of patches to the downloads from the HP ftp site, or the
- |>name of a commercial vendor with a working version.
- |>
- |>I am using CXX v 5.2 .
- |>
- |>When I try to use it, I get loads of errors:
- |>
- |>$ create test.cxx
- |>#include <deque.h>
- |>main()
- |>{
- |> deque<int> intDeque;
- |>}
- |> Exit
- |>$ cxx/include_directory=tgrs2$dkb0:[stl] test.cxx
- |>
- |> typedef Allocator<T>::reference reference;
- |>....................................^
- |>%CXX-E-DECLARATION, Invalid declaration.
- |>at line number 44 in file TGRS2$DKB0:[STL]DEQUE.H;1
- |>
- |> typedef Allocator<T>::const_reference const_reference;
- |>..........................................^
- |>%CXX-E-DECLARATION, Invalid declaration.
- |>at line number 45 in file TGRS2$DKB0:[STL]DEQUE.H;1
- |>
- |> typedef Allocator<T>::size_type size_type;
- |>....................................^
- |>%CXX-E-DECLARATION, Invalid declaration.
- |>at line number 46 in file TGRS2$DKB0:[STL]DEQUE.H;1
- |>
- |>and many more pages.
-
- V5.2 does not support auto-instantiation of templates, so you
- need to either use #pragma define_template in your code,
- or /TEMPLATE_DEFINE in your compile command. You can see the
- documentation or on-line help for more on these.
-
- Digital is currently wrapping up field test for DEC C++ V5.3.
- When released, this release will provide support for both
- auto-instantiation and the STL.
-
-
- Tom
-
- --
-
- Thomas Carlson, DEC C/ DEC C++ carlson@decc.enet.dec.com
- Digital Equipment Corporation, ZK2-3/N30
- 110 Spitbrook Rd,
- Nashua, NH 03062
-